package com.odp.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

//帖子表
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Post {
    private int postId;
    private int userId;
    private String title;//标题
    private int perferId;//帖子偏好
    private String content;//帖子内容
    private String picture;//帖子图片
    private int hot;//是否热门
    private int likes;//点赞数
    private int replyNum;//回复数
    private Date createTime;//发帖时间
    private int unreadNum;//未读数量（按楼）
}
